package com.leaf.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 成功第一步
 *
 */
@RestController
@RequestMapping("/hello")
public class Test {

    @RequestMapping("/world")
   public String helloWorld(){
       return "Hello World";
   }
}
